package com.bootdo.wx.service;

import com.bootdo.wx.domain.GoodsBargainDO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 商品砍价设置
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-07-03 11:05:58
 */
public interface GoodsBargainService {
	
	GoodsBargainDO get(String id);
	
	List<GoodsBargainDO> list(Map<String, Object> paramMap);
	
	int count(Map<String, Object> paramMap);
	
	int save(GoodsBargainDO goodsBargain);
	
	int update(GoodsBargainDO goodsBargain);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	PageInfo<Map<String,Object>> getBargainGoodsList(Map<String, Object> paramMap);

	/*Map<String,Object> bargain();*/

	List<Map<String,Object>> getBargainList(Map<String, Object> map);

	int getBargainListCount(Map<String, Object> map);


}
